package com.week2.day02;

public class Flamethrower extends Weapon{  //喷火器
    private int targetNum ;

    public int getTargetNum() {
        return targetNum;
    }

    public void setTargetNum(int targetNum) {
        this.targetNum = targetNum;
    }

    public Flamethrower() {
        super();
        this.setName("荧焰");
        this.setTargetNum(3);
    }

    public void SpurtFire() {
        System.out.println("范围伤害");
    }
}
